<!DOCTYPE HTML>

<html lang="en">
<head>

<title>LdapAuthenticationProviderConfigurer (spring-security-docs 5.6.3 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="LdapAuthenticationProviderConfigurer (spring-security-docs 5.6.3 API)";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">

<div class="topNav"><a id="navbar.top">

</a>
<div class="skipNav"><a href="LdapAuthenticationProviderConfigurer.html#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">

</a></div>

</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>

<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.springframework.security.config.annotation.authentication.configurers.ldap</a></div>
<h2 title="Class LdapAuthenticationProviderConfigurer" class="title">Class LdapAuthenticationProviderConfigurer&lt;B extends <a href="../../ProviderManagerBuilder.html" title="interface in org.springframework.security.config.annotation.authentication">ProviderManagerBuilder</a>&lt;B&gt;&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">org.springframework.security.config.annotation.SecurityConfigurerAdapter</a>&lt;<a href="../../../../../authentication/AuthenticationManager.html" title="interface in org.springframework.security.authentication">AuthenticationManager</a>,&#8203;B&gt;</li>
<li>
<ul class="inheritance">
<li>org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer&lt;B&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>B</code> - the <a href="../../ProviderManagerBuilder.html" title="interface in org.springframework.security.config.annotation.authentication"><code>ProviderManagerBuilder</code></a> type that this is configuring.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../../authentication/AuthenticationManager.html" title="interface in org.springframework.security.authentication">AuthenticationManager</a>,&#8203;B&gt;</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">LdapAuthenticationProviderConfigurer&lt;B extends <a href="../../ProviderManagerBuilder.html" title="interface in org.springframework.security.config.annotation.authentication">ProviderManagerBuilder</a>&lt;B&gt;&gt;</span>
extends <a href="../../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">SecurityConfigurerAdapter</a>&lt;<a href="../../../../../authentication/AuthenticationManager.html" title="interface in org.springframework.security.authentication">AuthenticationManager</a>,&#8203;B&gt;</pre>
<div class="block">Configures LDAP <a href="../../../../../authentication/AuthenticationProvider.html" title="interface in org.springframework.security.authentication"><code>AuthenticationProvider</code></a> in the <a href="../../ProviderManagerBuilder.html" title="interface in org.springframework.security.config.annotation.authentication"><code>ProviderManagerBuilder</code></a>.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.2</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">

</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.ContextSourceBuilder.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer.ContextSourceBuilder</a></span></code></th>
<td class="colLast">
<div class="block">Allows building a <code>BaseLdapPathContextSource</code> and optionally creating an
embedded LDAP instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer</a></span></code></th>
<td class="colLast">
<div class="block">Sets up Password based comparison</div>
</td>
</tr>
</table>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">

</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#%3Cinit%3E()">LdapAuthenticationProviderConfigurer</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">

</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#authoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper)">authoritiesMapper</a></span>&#8203;(<a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping">GrantedAuthoritiesMapper</a>&nbsp;grantedAuthoritiesMapper)</code></th>
<td class="colLast">
<div class="block">Specifies the <a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#configure(B)">configure</a></span>&#8203;(<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&nbsp;builder)</code></th>
<td class="colLast">
<div class="block">Configure the <a href="../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> by setting the necessary properties on the
<a href="../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.ContextSourceBuilder.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer.ContextSourceBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#contextSource()">contextSource</a></span>()</code></th>
<td class="colLast">
<div class="block">Allows easily configuring of a <code>BaseLdapPathContextSource</code> with defaults
pointing to an embedded LDAP server that is created.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#contextSource(org.springframework.ldap.core.support.BaseLdapPathContextSource)">contextSource</a></span>&#8203;(org.springframework.ldap.core.support.BaseLdapPathContextSource&nbsp;contextSource)</code></th>
<td class="colLast">
<div class="block">Specifies the <code>BaseLdapPathContextSource</code> to be used.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping">GrantedAuthoritiesMapper</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#getAuthoritiesMapper()">getAuthoritiesMapper</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the <a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a> and defaults to
<a href="../../../../../core/authority/mapping/SimpleAuthorityMapper.html" title="class in org.springframework.security.core.authority.mapping"><code>SimpleAuthorityMapper</code></a>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#groupRoleAttribute(java.lang.String)">groupRoleAttribute</a></span>&#8203;(java.lang.String&nbsp;groupRoleAttribute)</code></th>
<td class="colLast">
<div class="block">Specifies the attribute name which contains the role name.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#groupSearchBase(java.lang.String)">groupSearchBase</a></span>&#8203;(java.lang.String&nbsp;groupSearchBase)</code></th>
<td class="colLast">
<div class="block">The search base for group membership searches.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#groupSearchFilter(java.lang.String)">groupSearchFilter</a></span>&#8203;(java.lang.String&nbsp;groupSearchFilter)</code></th>
<td class="colLast">
<div class="block">The LDAP filter to search for groups.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#groupSearchSubtree(boolean)">groupSearchSubtree</a></span>&#8203;(boolean&nbsp;groupSearchSubtree)</code></th>
<td class="colLast">
<div class="block">If set to true, a subtree scope search will be performed for group membership.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#ldapAuthoritiesPopulator(org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator)">ldapAuthoritiesPopulator</a></span>&#8203;(<a href="../../../../../ldap/userdetails/LdapAuthoritiesPopulator.html" title="interface in org.springframework.security.ldap.userdetails">LdapAuthoritiesPopulator</a>&nbsp;ldapAuthoritiesPopulator)</code></th>
<td class="colLast">
<div class="block">Specifies the <a href="../../../../../ldap/userdetails/LdapAuthoritiesPopulator.html" title="interface in org.springframework.security.ldap.userdetails"><code>LdapAuthoritiesPopulator</code></a>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#passwordCompare()">passwordCompare</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#passwordEncoder(org.springframework.security.crypto.password.PasswordEncoder)">passwordEncoder</a></span>&#8203;(<a href="../../../../../crypto/password/PasswordEncoder.html" title="interface in org.springframework.security.crypto.password">PasswordEncoder</a>&nbsp;passwordEncoder)</code></th>
<td class="colLast">
<div class="block">Specifies the <a href="../../../../../crypto/password/PasswordEncoder.html" title="interface in org.springframework.security.crypto.password"><code>PasswordEncoder</code></a>
to be used when authenticating with password comparison.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#rolePrefix(java.lang.String)">rolePrefix</a></span>&#8203;(java.lang.String&nbsp;rolePrefix)</code></th>
<td class="colLast">
<div class="block">A non-empty string prefix that will be added as a prefix to the existing roles.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#userDetailsContextMapper(org.springframework.security.ldap.userdetails.UserDetailsContextMapper)">userDetailsContextMapper</a></span>&#8203;(<a href="../../../../../ldap/userdetails/UserDetailsContextMapper.html" title="interface in org.springframework.security.ldap.userdetails">UserDetailsContextMapper</a>&nbsp;userDetailsContextMapper)</code></th>
<td class="colLast">
<div class="block">Allows explicit customization of the loaded user object by specifying a
UserDetailsContextMapper bean which will be called with the context information
from the user's directory entry.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#userDnPatterns(java.lang.String...)">userDnPatterns</a></span>&#8203;(java.lang.String...&nbsp;userDnPatterns)</code></th>
<td class="colLast">
<div class="block">If your users are at a fixed location in the directory (i.e.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#userSearchBase(java.lang.String)">userSearchBase</a></span>&#8203;(java.lang.String&nbsp;userSearchBase)</code></th>
<td class="colLast">
<div class="block">Search base for user searches.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#userSearchFilter(java.lang.String)">userSearchFilter</a></span>&#8203;(java.lang.String&nbsp;userSearchFilter)</code></th>
<td class="colLast">
<div class="block">The LDAP filter used to search for users (optional).</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LdapAuthenticationProviderConfigurer.html#withObjectPostProcessor(org.springframework.security.config.annotation.ObjectPostProcessor)">withObjectPostProcessor</a></span>&#8203;(<a href="../../../ObjectPostProcessor.html" title="interface in org.springframework.security.config.annotation">ObjectPostProcessor</a>&lt;?&gt;&nbsp;objectPostProcessor)</code></th>
<td class="colLast">
<div class="block">Adds an <a href="../../../ObjectPostProcessor.html" title="interface in org.springframework.security.config.annotation"><code>ObjectPostProcessor</code></a> for this class.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.springframework.security.config.annotation.SecurityConfigurerAdapter">

</a>
<h3>Methods inherited from class&nbsp;org.springframework.security.config.annotation.<a href="../../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">SecurityConfigurerAdapter</a></h3>
<code><a href="../../../SecurityConfigurerAdapter.html#addObjectPostProcessor(org.springframework.security.config.annotation.ObjectPostProcessor)">addObjectPostProcessor</a>, <a href="../../../SecurityConfigurerAdapter.html#and()">and</a>, <a href="../../../SecurityConfigurerAdapter.html#getBuilder()">getBuilder</a>, <a href="../../../SecurityConfigurerAdapter.html#init(B)">init</a>, <a href="../../../SecurityConfigurerAdapter.html#postProcess(T)">postProcess</a>, <a href="../../../SecurityConfigurerAdapter.html#setBuilder(B)">setBuilder</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">

</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">

</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LdapAuthenticationProviderConfigurer</h4>
<pre>public&nbsp;LdapAuthenticationProviderConfigurer()</pre>
</li>
</ul>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">

</a>
<h3>Method Detail</h3>
<a id="ldapAuthoritiesPopulator(org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>ldapAuthoritiesPopulator</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;ldapAuthoritiesPopulator&#8203;(<a href="../../../../../ldap/userdetails/LdapAuthoritiesPopulator.html" title="interface in org.springframework.security.ldap.userdetails">LdapAuthoritiesPopulator</a>&nbsp;ldapAuthoritiesPopulator)</pre>
<div class="block">Specifies the <a href="../../../../../ldap/userdetails/LdapAuthoritiesPopulator.html" title="interface in org.springframework.security.ldap.userdetails"><code>LdapAuthoritiesPopulator</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ldapAuthoritiesPopulator</code> - the <a href="../../../../../ldap/userdetails/LdapAuthoritiesPopulator.html" title="interface in org.springframework.security.ldap.userdetails"><code>LdapAuthoritiesPopulator</code></a> the default is
<a href="../../../../../ldap/userdetails/DefaultLdapAuthoritiesPopulator.html" title="class in org.springframework.security.ldap.userdetails"><code>DefaultLdapAuthoritiesPopulator</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="withObjectPostProcessor(org.springframework.security.config.annotation.ObjectPostProcessor)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>withObjectPostProcessor</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;withObjectPostProcessor&#8203;(<a href="../../../ObjectPostProcessor.html" title="interface in org.springframework.security.config.annotation">ObjectPostProcessor</a>&lt;?&gt;&nbsp;objectPostProcessor)</pre>
<div class="block">Adds an <a href="../../../ObjectPostProcessor.html" title="interface in org.springframework.security.config.annotation"><code>ObjectPostProcessor</code></a> for this class.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>objectPostProcessor</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../web/configurers/ChannelSecurityConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>ChannelSecurityConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="authoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>authoritiesMapper</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;authoritiesMapper&#8203;(<a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping">GrantedAuthoritiesMapper</a>&nbsp;grantedAuthoritiesMapper)</pre>
<div class="block">Specifies the <a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>grantedAuthoritiesMapper</code> - the <a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a> the default is
<a href="../../../../../core/authority/mapping/SimpleAuthorityMapper.html" title="class in org.springframework.security.core.authority.mapping"><code>SimpleAuthorityMapper</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.1.1</dd>
</dl>
</li>
</ul>
<a id="getAuthoritiesMapper()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthoritiesMapper</h4>
<pre class="methodSignature">protected&nbsp;<a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping">GrantedAuthoritiesMapper</a>&nbsp;getAuthoritiesMapper()
                                                 throws java.lang.Exception</pre>
<div class="block">Gets the <a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a> and defaults to
<a href="../../../../../core/authority/mapping/SimpleAuthorityMapper.html" title="class in org.springframework.security.core.authority.mapping"><code>SimpleAuthorityMapper</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../../core/authority/mapping/GrantedAuthoritiesMapper.html" title="interface in org.springframework.security.core.authority.mapping"><code>GrantedAuthoritiesMapper</code></a></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if errors in <a href="../../../../../core/authority/mapping/SimpleAuthorityMapper.html#afterPropertiesSet()"><code>SimpleAuthorityMapper.afterPropertiesSet()</code></a></dd>
</dl>
</li>
</ul>
<a id="contextSource(org.springframework.ldap.core.support.BaseLdapPathContextSource)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>contextSource</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;contextSource&#8203;(org.springframework.ldap.core.support.BaseLdapPathContextSource&nbsp;contextSource)</pre>
<div class="block">Specifies the <code>BaseLdapPathContextSource</code> to be used. If not specified, an
embedded LDAP server will be created using <a href="LdapAuthenticationProviderConfigurer.html#contextSource()"><code>contextSource()</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>contextSource</code> - the <code>BaseLdapPathContextSource</code> to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LdapAuthenticationProviderConfigurer.html#contextSource()"><code>contextSource()</code></a></dd>
</dl>
</li>
</ul>
<a id="contextSource()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>contextSource</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.ContextSourceBuilder.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer.ContextSourceBuilder</a>&nbsp;contextSource()</pre>
<div class="block">Allows easily configuring of a <code>BaseLdapPathContextSource</code> with defaults
pointing to an embedded LDAP server that is created.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.ContextSourceBuilder.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer.ContextSourceBuilder</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="passwordEncoder(org.springframework.security.crypto.password.PasswordEncoder)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>passwordEncoder</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;passwordEncoder&#8203;(<a href="../../../../../crypto/password/PasswordEncoder.html" title="interface in org.springframework.security.crypto.password">PasswordEncoder</a>&nbsp;passwordEncoder)</pre>
<div class="block">Specifies the <a href="../../../../../crypto/password/PasswordEncoder.html" title="interface in org.springframework.security.crypto.password"><code>PasswordEncoder</code></a>
to be used when authenticating with password comparison.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>passwordEncoder</code> - the
<a href="../../../../../crypto/password/PasswordEncoder.html" title="interface in org.springframework.security.crypto.password"><code>PasswordEncoder</code></a> to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customization</dd>
</dl>
</li>
</ul>
<a id="userDnPatterns(java.lang.String...)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>userDnPatterns</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;userDnPatterns&#8203;(java.lang.String...&nbsp;userDnPatterns)</pre>
<div class="block">If your users are at a fixed location in the directory (i.e. you can work out the
DN directly from the username without doing a directory search), you can use this
attribute to map directly to the DN. It maps directly to the userDnPatterns
property of AbstractLdapAuthenticator. The value is a specific pattern used to
build the user's DN, for example "uid={0},ou=people". The key "{0}" must be present
and will be substituted with the username.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userDnPatterns</code> - the LDAP patterns for finding the usernames</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="userDetailsContextMapper(org.springframework.security.ldap.userdetails.UserDetailsContextMapper)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>userDetailsContextMapper</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;userDetailsContextMapper&#8203;(<a href="../../../../../ldap/userdetails/UserDetailsContextMapper.html" title="interface in org.springframework.security.ldap.userdetails">UserDetailsContextMapper</a>&nbsp;userDetailsContextMapper)</pre>
<div class="block">Allows explicit customization of the loaded user object by specifying a
UserDetailsContextMapper bean which will be called with the context information
from the user's directory entry.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userDetailsContextMapper</code> - the <a href="../../../../../ldap/userdetails/UserDetailsContextMapper.html" title="interface in org.springframework.security.ldap.userdetails"><code>UserDetailsContextMapper</code></a> to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../ldap/userdetails/PersonContextMapper.html" title="class in org.springframework.security.ldap.userdetails"><code>PersonContextMapper</code></a>,
<a href="../../../../../ldap/userdetails/InetOrgPersonContextMapper.html" title="class in org.springframework.security.ldap.userdetails"><code>InetOrgPersonContextMapper</code></a>,
<a href="../../../../../ldap/userdetails/LdapUserDetailsMapper.html" title="class in org.springframework.security.ldap.userdetails"><code>LdapUserDetailsMapper</code></a></dd>
</dl>
</li>
</ul>
<a id="groupRoleAttribute(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>groupRoleAttribute</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;groupRoleAttribute&#8203;(java.lang.String&nbsp;groupRoleAttribute)</pre>
<div class="block">Specifies the attribute name which contains the role name. Default is "cn".</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>groupRoleAttribute</code> - the attribute name that maps a group to a role.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="groupSearchBase(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>groupSearchBase</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;groupSearchBase&#8203;(java.lang.String&nbsp;groupSearchBase)</pre>
<div class="block">The search base for group membership searches. Defaults to "".</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>groupSearchBase</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="groupSearchSubtree(boolean)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>groupSearchSubtree</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;groupSearchSubtree&#8203;(boolean&nbsp;groupSearchSubtree)</pre>
<div class="block">If set to true, a subtree scope search will be performed for group membership. If
false a single-level search is used.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>groupSearchSubtree</code> - set to true to enable searching of the entire tree below
the <tt>groupSearchBase</tt>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="groupSearchFilter(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>groupSearchFilter</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;groupSearchFilter&#8203;(java.lang.String&nbsp;groupSearchFilter)</pre>
<div class="block">The LDAP filter to search for groups. Defaults to "(uniqueMember={0})". The
substituted parameter is the DN of the user.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>groupSearchFilter</code> - the LDAP filter to search for groups</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="rolePrefix(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>rolePrefix</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;rolePrefix&#8203;(java.lang.String&nbsp;rolePrefix)</pre>
<div class="block">A non-empty string prefix that will be added as a prefix to the existing roles. The
default is "ROLE_".</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rolePrefix</code> - the prefix to be added to the roles that are loaded.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../core/authority/mapping/SimpleAuthorityMapper.html#setPrefix(java.lang.String)"><code>SimpleAuthorityMapper.setPrefix(String)</code></a></dd>
</dl>
</li>
</ul>
<a id="userSearchBase(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>userSearchBase</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;userSearchBase&#8203;(java.lang.String&nbsp;userSearchBase)</pre>
<div class="block">Search base for user searches. Defaults to "". Only used with
<a href="LdapAuthenticationProviderConfigurer.html#userSearchFilter(java.lang.String)"><code>userSearchFilter(String)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userSearchBase</code> - search base for user searches</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="userSearchFilter(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>userSearchFilter</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&nbsp;userSearchFilter&#8203;(java.lang.String&nbsp;userSearchFilter)</pre>
<div class="block">The LDAP filter used to search for users (optional). For example "(uid={0})". The
substituted parameter is the user's login name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userSearchFilter</code> - the LDAP filter used to search for users</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="configure(org.springframework.security.config.annotation.authentication.ProviderManagerBuilder)">

</a><a id="configure(B)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>configure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;configure&#8203;(<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&nbsp;builder)
               throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../SecurityConfigurer.html#configure(B)">SecurityConfigurer</a></code></span></div>
<div class="block">Configure the <a href="../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> by setting the necessary properties on the
<a href="../../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../SecurityConfigurer.html#configure(B)">configure</a></code>&nbsp;in interface&nbsp;<code><a href="../../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../../authentication/AuthenticationManager.html" title="interface in org.springframework.security.authentication">AuthenticationManager</a>,&#8203;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a> extends <a href="../../ProviderManagerBuilder.html" title="interface in org.springframework.security.config.annotation.authentication">ProviderManagerBuilder</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../SecurityConfigurerAdapter.html#configure(B)">configure</a></code>&nbsp;in class&nbsp;<code><a href="../../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">SecurityConfigurerAdapter</a>&lt;<a href="../../../../../authentication/AuthenticationManager.html" title="interface in org.springframework.security.authentication">AuthenticationManager</a>,&#8203;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a> extends <a href="../../ProviderManagerBuilder.html" title="interface in org.springframework.security.config.annotation.authentication">ProviderManagerBuilder</a>&lt;<a href="LdapAuthenticationProviderConfigurer.html" title="type parameter in LdapAuthenticationProviderConfigurer">B</a>&gt;&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="passwordCompare()">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>passwordCompare</h4>
<pre class="methodSignature">public&nbsp;<a href="LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap">LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer</a>&nbsp;passwordCompare()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer.html" title="class in org.springframework.security.config.annotation.authentication.configurers.ldap"><code>LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>

<footer role="contentinfo">
<nav role="navigation">

<div class="bottomNav"><a id="navbar.bottom">

</a>
<div class="skipNav"><a href="LdapAuthenticationProviderConfigurer.html#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LdapAuthenticationProviderConfigurer.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">

</a></div>

</nav>
</footer>
<script>if (window.parent == window) {(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-2728886-23', 'auto', {'siteSpeedSampleRate': 100});ga('send', 'pageview');}</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"7040ed3b6d2697cf","token":"bffcb8a918ae4755926f76178bfbd26b","version":"2021.12.0","si":100}' crossorigin="anonymous"></script>
</body>
</html>
